package org.beanutopia.function;

import com.google.common.base.Predicate;

/**
 * @author ymeymann
 * @since Dec 5, 2007 6:37:40 PM
 */
public abstract class TypePredicate<T> implements Predicate<T> {
  protected Class<? extends T> klass;

  public TypePredicate(Class<? extends T> c) {
    klass = c;
  }

  public Class<? extends T> getMatchClass() {
    return klass;
  }
}
